Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Renesas Electronics/R7FA4W1AD/SYSTEM/RSTSR2#0x0
CWSF=0
Reset Status Register 2
Cold/Warm Start Determination FlagNote: Only 1 can be written to set the flag.
0 (0): Cold start
1 (1): Warm start
These bits are read as 0000000. The write value should be 0000000.
https://github.com/cmsis-svd/cmsis-svd-data